package com.aliyun.messagemgt.common.dto.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author : WangZhiPan
 * @date : 2021/9/24 11:15
 */
@Data
@ApiModel("基础DTO")
public class BaseEntity {

    @ApiModelProperty("id")
    protected Long id;

    @ApiModelProperty("状态 Y 逻辑删除 N正常")
    protected String isDeleted;

    @ApiModelProperty("创建人姓名")
    protected String creator;

    @ApiModelProperty("创建时间")
    protected LocalDateTime gmtCreated;

    @ApiModelProperty("修改人姓名")
    protected String modifier;

    @ApiModelProperty("修改时间")
    protected LocalDateTime gmtModified;
}
